package com.yantong.mapper;

import com.yantong.pojo.ReservationBrand;
import com.yantong.pojo.ReservationBrandExample;
import com.yantong.pojo.vo.ReservationBrandVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface ReservationBrandMapper {
    long countByExample(ReservationBrandExample example);

    int deleteByExample(ReservationBrandExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ReservationBrand record);

    int insertSelective(ReservationBrand record);

//    List<ReservationBrand> selectByExampleWithBLOBs(ReservationBrandExample example);

    List<ReservationBrand> selectByExample(ReservationBrandExample example);

    ReservationBrand selectByPrimaryKey(Long id);

    ReservationBrandVo selectVoByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ReservationBrand record, @Param("example") ReservationBrandExample example);

    int updateByExampleWithBLOBs(@Param("record") ReservationBrand record, @Param("example") ReservationBrandExample example);

    int updateByExample(@Param("record") ReservationBrand record, @Param("example") ReservationBrandExample example);

    int updateByPrimaryKeySelective(ReservationBrand record);

    int updateByPrimaryKeyWithBLOBs(ReservationBrand record);

    int updateByPrimaryKey(ReservationBrand record);


    Integer pageBrandListCount(Map params);

    List<ReservationBrandVo> pageBrandListByParams(Map map, RowBounds rowBounds);

    List<ReservationBrandVo> pageBrandListByParams(Map map);
}